package org.easyexcel.Utools;
import org.springframework.core.io.ClassPathResource;

/**
 * @author DPF
 */
public class TestFileUtil {
    public static Object getPath() {
        ClassPathResource resource = new ClassPathResource("demo.xlsx");
        try {
            return resource.getFile().getAbsolutePath().toString();
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }
}
